package com.xinyou.u8c.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;

/**
 * <p>
 * 
 * </p>
 *
 * @author chq
 * @since 2023-09-15
 */
@Getter
@Setter
@ApiModel(value = "Bfaccountingemployeezjb对象", description = "")
public class Bfaccountingemployeezjb implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String accdeptid;

    private String accorgid;

    private String adminemployeeid;

    private String code;

    private String isdisable;

    private String mnemoniccode;

    private String nameChs;

    private String nameCht;

    private String nameEn;

    private String nameEs;

    private String namePt;

    private String remark;

    private String timestampinfoCreatedby;

    private String timestampinfoCreatedon;

    private String timestampinfoLastchangedby;

    private String timestampinfoLastchangedon;

    @Value("FI_PUBLIC")
    private String securitylevel;

    public List<String> getHeader() {
        return new ArrayList<>(Arrays.asList("ID;ACCDEPTID;ACCORGID;ADMINEMPLOYEEID;CODE;ISDISABLE;MNEMONICCODE;NAME_CHS;NAME_CHT;NAME_EN;NAME_ES;NAME_PT;REMARK;TIMESTAMPINFO_CREATEDBY;TIMESTAMPINFO_CREATEDON;TIMESTAMPINFO_LASTCHANGEDBY;TIMESTAMPINFO_LASTCHANGEDON;SECURITYLEVEL".split(";")));
    }

    public String[] getFields() {
        return new String[]{"id","accdeptid","accorgid","adminemployeeid","code","isdisable","mnemoniccode","nameChs","nameCht","nameEn","nameEs","namePt","remark","timestampinfoCreatedby","timestampinfoCreatedon","timestampinfoLastchangedby","timestampinfoLastchangedon","securitylevel"};
    }

}
